package com.zhuoshi.mapper;

import com.zhuoshi.entity.Housepayment;
import com.zhuoshi.entity.HousepaymentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HousepaymentMapper {
    int countByExample(HousepaymentExample example);

    int deleteByExample(HousepaymentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Housepayment record);

    int insertSelective(Housepayment record);

    List<Housepayment> selectByExample(HousepaymentExample example);

    Housepayment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Housepayment record, @Param("example") HousepaymentExample example);

    int updateByExample(@Param("record") Housepayment record, @Param("example") HousepaymentExample example);

    int updateByPrimaryKeySelective(Housepayment record);

    int updateByPrimaryKey(Housepayment record);
    
    public Housepayment selectByBargainid(Integer id);
}